package com.wjh.controller;


import com.wjh.service.ProducerecordService;
import com.wjh.service.PropertyCarService;
import com.wjh.utils.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("property")
public class PropertyCarController {

    @Resource
    private PropertyCarService propertyCarService;

    @GetMapping("/car/list")
    public ResponseResult queryPropertyCarAll(Integer pageNum,Integer pageSize,String serialNumber,
                                                            Integer type,Integer state){
        return propertyCarService.queryPropertyCarAll();
    }
}
